.dot-pager__pages {
	overflow: hidden;
	display: flex;
}

.dot-pager__page {
	width: 100%;
	flex-shrink: 0;
	margin-left: 0;
	transition: all 0.5s ease-in-out;
	opacity: 1;

	&.is-prev,
	&.is-next {
		opacity: 0;
	}

	&.is-prev {
		margin-left: -100%;
	}

	&.is-next {
		margin-left: 100%;
	}
}

.dot-pager__controls {
	margin: 0;
	margin-top: 16px;
	display: flex;
	justify-content: center;

	li {
		display: inline-flex;
		margin: 0 4px;
		height: 18px;
		align-items: center;
	}

	button {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		cursor: pointer;
		background-color: var( --color-neutral-10 );

		&:hover {
			background-color: var( --color-neutral-light );
		}

		&:disabled {
			cursor: default;
		}

		&.dot-pager__control-current {
			background-color: var( --color-primary );
		}

		&.dot-pager__control-prev,
		&.dot-pager__control-next {
			width: 18px;
			height: 18px;
			background-color: transparent;
		}
	}
}
